<?php
 
namespace models\entities;
use classes; 
/**
 * @Entity(repositoryClass="models\repositories\IndicatorRepository")
 * @Table(name="indicator")
 */
class Indicator {
 
/**
 * @Id
 * @Column(name="id", type="string", nullable=false)
 * 
 */
	protected $id;

/**
 * @Column(name="nama", type="string", length=45, nullable=false)
 */
	protected $nama;
	
/**
 * @Column(name="deskripsi", type="string", length=45, nullable=false)
 */
	protected $deskripsi;	
	
 /**
 * 
 * @ManyToOne(targetEntity="TipeBerkas")
 * @JoinColumn(name="tipe_berkas", referencedColumnName="id")
 */
	protected $type;	
	
	public function setId($id)
	{
	    $this->id = $id;
	}
 
	public function getId()
	{
	    return $this->id;
	}


	public function setNama($nama)
	{
	    $this->nama = $nama;
	}
 
	public function getNama()
	{
	    return $this->nama;
	}
	
	public function setDeskripsi($deskripsi)
	{
	    $this->deskripsi = $deskripsi;
	}
 
	public function getDeskripsi()
	{
	    return $this->deskripsi;
	}
	
	public function setType($type){
		$this->type = $type;
	}
	
	public function getType(){
		return $this->type;
	}
	
}